package com.sky.mapper;

import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2023/8/20 10:32
 * @Version 1.0.0
 */
@Mapper
public interface ShoppingCartMapper {

    void save(ShoppingCart shoppingCart);

    List<ShoppingCart> list(Long userId);

    void clean(Long userId);

    ShoppingCart selectOne(Long userId,Long dishId,Long setmealId);

    void updateById(Long id);

    void deleteById(Long id);

    void subById(Long id);


}
